package com.itheima.service.client;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domian.Orders;
import com.itheima.domian.vo.OrderVo;
import com.itheima.domian.vo.QueryVo;

/**
 * @Author 12441
 * @Date 2022/8/11 15:11
 * @Version 1.0
 */
public interface OrderService extends IService<Orders> {

    void submitOrder(Orders order, String currentId);

    IPage<OrderVo> findByPage(Page<OrderVo> page, QueryWrapper<OrderVo> Wrapper);
}
